Inside Macintosh: Memory

Previous | Chapter Top | Chapter Contents | Next

About the Memory Manager

The Memory Manager is the part of the Macintosh Operating System that controls the dynamic allocation of memory space. Ordinarily, you need to access information only within your own application's heap, stack, and A5 world. Occasionally, however, you might need to use the Memory Manager to allocate temporary memory outside of your application's partition or to initialize new heap zones within your application partition. You might also need to read a system global variable to obtain information about the environment in which your application is executing.

The Memory Manager provides a large number of routines that you can use to perform various operations on blocks within your application partition. You can use the Memory Manager to

The Memory Manager also provides routines that you can use to access areas of memory outside your application partition. You can use the Memory Manager to

This section describes the areas of memory that lie outside your application partition. It also describes multiple heap zones.

Temporary Memory

Multiple Heap Zones

The System Global Variables


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next